import React from 'react';
import { Provider } from 'react-redux';
import store from './store/index';
// import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'
import { BrowserRouter } from 'react-router-dom';
// 路由组件
import RouterView from './router/index';
// 路由配置文件
import config from './router/config';


function App() {
  return (
    <Provider store={store}>
      <BrowserRouter>
        <RouterView routes={config}></RouterView>
      </BrowserRouter>
    </Provider>
  );
}

export default App;
